package io.github.talelin.latticy.dto.stock;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.io.Serializable;

/**
 * ClassName StockDTO
 * Description
 * Create by zcy
 * Date 2022-06-29
 */
@Data
public class StockAdjustDTO  extends StockDTO implements Serializable {
    private static final long serialVersionUID = 1189599584192844918L;

    @NotNull(message = "{location.id.not-empty}")
    private Integer locationId;

    /**
     * 1.覆盖 2.增加
     */
    private Integer type;


    /**
     * 备注
     */
    private String remark;

}
